﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="AdminStudInfo.aspx.cs" Inherits="admin_AdminStudInfo" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="Server">

    <div class="am-cf am-padding">
        <div class="am-fl am-cf"><strong class="am-text-primary am-text-lg">学生信息列表</strong> / <small>StudentManage</small></div>
    </div>

    <div class="am-g" style="margin-bottom: 16px;">
        <div class="am-u-sm-12 am-u-md-4">
            <div class="am-btn-toolbar">
                <div class="am-btn-group am-btn-group-xs">
                    <a href="<%=BSUtility.mainUrl+"admin/AdminStudAdd.aspx" %>" class="am-btn am-btn-default"><span class="am-icon-plus"></span>添加</a>
                </div>
            </div>
        </div>
        <div class="am-u-sm-12 am-u-md-3" style="float:left;">
            <div class="am-form-group am-form-group-sm">
                <asp:TextBox runat="server" ID="studentId" CssClass="am-form-field am-input-sm" placeholder="学号 / 身份证号" Width="250px"></asp:TextBox>
            </div>
        </div>
        <div class="am-u-sm-12 am-u-md-1" style="float:left;">
            <div class="am-form-group">
                <asp:Button ID="btnSearch" runat="server" CssClass="am-btn am-btn-sm" Style="background-color: #0094ff; color: #fff" Text="查  找" OnClick="btnSearch_Click"/>
            </div>
        </div>
        <div style="clear:both;"></div>
    </div>

    <div class="am-g">
        <div class="am-u-sm-12">
            <asp:GridView ID="gv" runat="server" DataKeyNames="StudID" PageSize="12" AllowPaging="True" AutoGenerateColumns="false" CssClass="am-table am-table-striped am-table-hover table-main" GridLines="None" OnPageIndexChanging="gv_PageIndexChanging">
                <Columns>
                    <asp:TemplateField HeaderText="序号">
                        <HeaderStyle Width="60px"></HeaderStyle>
                        <ItemTemplate>
                            <%# Container.DataItemIndex + 1%>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:BoundField DataField="StudIdcard" HeaderText="身份证号" ItemStyle-Width="150px" />
                    <asp:BoundField DataField="StudName" HeaderText="姓名" />
                    <asp:BoundField DataField="StudID" HeaderText="学号" />
                    <asp:BoundField DataField="StudSex" HeaderText="性别" ItemStyle-Width="50px" />
                    <asp:BoundField DataField="StudClassName" HeaderText="班级" />
                    <asp:BoundField DataField="StudDeptName" ItemStyle-Width="200px" HeaderText="专业" />
                    <asp:BoundField DataField="StudFrom" HeaderText="来源" />
                    <asp:BoundField DataField="StudTel" HeaderText="联系方式" ItemStyle-Width="150px" />
                </Columns>
               <PagerSettings 
               
                    Mode="NumericFirstLast"
                    FirstPageText="首页"
                    LastPageText="末页"
                    PageButtonCount="7"
                    Position="Bottom" />
                <PagerStyle
                     BorderColor="#66FF66" Font-Names="微软雅黑" Font-Size="12px" HorizontalAlign="Center"
                        CssClass="pageIndex" /> 
            </asp:GridView>

            <hr />
            <p>注：.....</p>
        </div>
    </div>
</asp:Content>

